package com.primforce.common.utils;

import java.util.UUID;

/**
 * @Author tangjiakai
 * @Date 2024/6/11 10:27
 * @Description: 随机数处理方法
 */
public class UuidUtil {
    public static String generateUUID32() {
        return UUID.randomUUID().toString().replace("-", "");
    }

    public static String generateUUID6() {
        return UUID.randomUUID().toString().replace("-", "").substring(0, 6);
    }
}
